package com.ruoyi.tjbb.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.tjbb.mapper.SysTjbbClycdwsjmxMapper;
import com.ruoyi.tjbb.domain.SysTjbbClycdwsjmx;
import com.ruoyi.tjbb.service.ISysTjbbClycdwsjmxService;

/**
 * 车辆异常点位数据明细Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
@Service
public class SysTjbbClycdwsjmxServiceImpl implements ISysTjbbClycdwsjmxService 
{
    @Autowired
    private SysTjbbClycdwsjmxMapper sysTjbbClycdwsjmxMapper;

    /**
     * 查询车辆异常点位数据明细
     * 
     * @param id 车辆异常点位数据明细主键
     * @return 车辆异常点位数据明细
     */
    @Override
    public SysTjbbClycdwsjmx selectSysTjbbClycdwsjmxById(Long id)
    {
        return sysTjbbClycdwsjmxMapper.selectSysTjbbClycdwsjmxById(id);
    }

    /**
     * 查询车辆异常点位数据明细列表
     * 
     * @param sysTjbbClycdwsjmx 车辆异常点位数据明细
     * @return 车辆异常点位数据明细
     */
    @Override
    public List<SysTjbbClycdwsjmx> selectSysTjbbClycdwsjmxList(SysTjbbClycdwsjmx sysTjbbClycdwsjmx)
    {
        return sysTjbbClycdwsjmxMapper.selectSysTjbbClycdwsjmxList(sysTjbbClycdwsjmx);
    }

    /**
     * 新增车辆异常点位数据明细
     * 
     * @param sysTjbbClycdwsjmx 车辆异常点位数据明细
     * @return 结果
     */
    @Override
    public int insertSysTjbbClycdwsjmx(SysTjbbClycdwsjmx sysTjbbClycdwsjmx)
    {
        return sysTjbbClycdwsjmxMapper.insertSysTjbbClycdwsjmx(sysTjbbClycdwsjmx);
    }

    /**
     * 修改车辆异常点位数据明细
     * 
     * @param sysTjbbClycdwsjmx 车辆异常点位数据明细
     * @return 结果
     */
    @Override
    public int updateSysTjbbClycdwsjmx(SysTjbbClycdwsjmx sysTjbbClycdwsjmx)
    {
        return sysTjbbClycdwsjmxMapper.updateSysTjbbClycdwsjmx(sysTjbbClycdwsjmx);
    }

    /**
     * 批量删除车辆异常点位数据明细
     * 
     * @param ids 需要删除的车辆异常点位数据明细主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbClycdwsjmxByIds(Long[] ids)
    {
        return sysTjbbClycdwsjmxMapper.deleteSysTjbbClycdwsjmxByIds(ids);
    }

    /**
     * 删除车辆异常点位数据明细信息
     * 
     * @param id 车辆异常点位数据明细主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbClycdwsjmxById(Long id)
    {
        return sysTjbbClycdwsjmxMapper.deleteSysTjbbClycdwsjmxById(id);
    }
}
